<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>The hotel System</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/res/css/menu.css">
</head>
<body style="overflow: scroll;">
    <div class="head">
        <span class="logo">aWangHotel</span>
    </div>
    <div class="totality" id="menu">
        <div class="menuList">
            <div class="personInfo">
                <div class="headPortrait">
                    <img src="${pageContext.request.contextPath }/res/imgs/bg.jpg" width="80" height="80">
                </div>
                <div class="user">
                    <p class="userName" >${sessionScope.userName}</p>
                    <!-- <span class="loggedOut" onclick="LoginOut()">退出登陆</span> -->
                    <a href="../loginOut"  style="text-decoration:none;" class="loggedOut">退出登陆</a>
                </div>
            </div>
            <div>
                <hr style="color: #f1f1f1; width: 100%;">
            </div>
            <div class="funclist">
                <ul class="funclistul">
                    <li onclick="chageRoomCondition()" style="cursor: pointer">实时房态</li>
                    <li onclick="checkIn()"style="cursor: pointer">入住登陆</li>
                    <li onclick="dataStatistics()"style="cursor: pointer">数据统计</li>
                    <li onclick="inportData()"style="cursor: pointer">导入信息</li>
                    <li onclick="selectInformation()"style="cursor: pointer">查询与更改</li>
                    <li onclick="checkOut()"style="cursor: pointer">续租与退房</li>
                </ul>
            </div>
        </div>
        <div class="allFunc">
            <iframe src="roomCondition"
            name="frame_content" id="frame_content" 
            scrolling="no"width="100%" style="border: 0px; height: 1000px; min-height: 700px; overflow: hidden;" ></iframe>
        </div>
    </div>
    <script src="${pageContext.request.contextPath }/res/js/jquery.js"></script>
    <script src="${pageContext.request.contextPath }/res/js/vue.js"></script>
    <script src="${pageContext.request.contextPath }/res/js/menu.js"></script>
</body>
</html>